package com.ces.knacky.model;

import java.io.Serializable;
import java.util.Set;

import javax.xml.bind.annotation.XmlTransient;

import com.ces.knacky.framework.model.AbstractBaseEntity;
import com.ces.knacky.framework.model.IFlaggable;

public class AuctionStatus extends AbstractBaseEntity implements Serializable, IFlaggable {
	
	 /** persistent field */
    private com.ces.knacky.model.Flag flag;
    
    /** persistent field */
    private Set<Auction> auctions;
    
    /** default constructor */
    public AuctionStatus() {
    }

	/** full constructor */
    public AuctionStatus(String description, com.ces.knacky.model.Flag flag, Set<Auction> auctions) {
        this.description = description;
        this.flag = flag;
        this.auctions = auctions;
    }
    
    public com.ces.knacky.model.Flag getFlag() {
        return this.flag;
    }

    public void setFlag(com.ces.knacky.model.Flag flag) {
        this.flag = flag;
    }
    
    @XmlTransient
    public Set<Auction> getAuctions() {
		return auctions;
	}

	public void setAuctions(Set<Auction> auctions) {
		this.auctions = auctions;
	}

}
